package com.youlai.boot.system.service;

import com.youlai.boot.system.model.entity.LpsOrderYl;
import com.youlai.boot.system.model.form.LpsOrderYlForm;
import com.youlai.boot.system.model.query.LpsOrderYlQuery;
import com.youlai.boot.system.model.vo.LpsOrderYlVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 永乐服务类
 *
 * @author lwb
 * @since 2025-07-18 14:54
 */
public interface LpsOrderYlService extends IService<LpsOrderYl> {

    /**
     *永乐分页列表
     *
     * @return
     */
    IPage<LpsOrderYlVO> getLpsOrderYlPage(LpsOrderYlQuery queryParams);

    /**
     * 获取永乐表单数据
     *
     * @param id 永乐ID
     * @return
     */
     LpsOrderYlForm getLpsOrderYlFormData(Long id);

    /**
     * 新增永乐
     *
     * @param formData 永乐表单对象
     * @return
     */
    boolean saveLpsOrderYl(LpsOrderYlForm formData);

    /**
     * 修改永乐
     *
     * @param id   永乐ID
     * @param formData 永乐表单对象
     * @return
     */
    boolean updateLpsOrderYl(Long id, LpsOrderYlForm formData);

    /**
     * 删除永乐
     *
     * @param ids 永乐ID，多个以英文逗号(,)分割
     * @return
     */
    boolean deleteLpsOrderYls(String ids);

}
